package com.shuai.baibi.model.enums;

/**
 *  描述图表信息表中图表的状态
 */
public enum ChartStatusEnum {
    WAITING(0, "waiting"),
    RUNNING(1, "running"),
    FAILED(2, "failed"),
    SUCCEED(3, "succeed");

    private final int status;

    private final String execMessage;

    ChartStatusEnum(int status, String execMessage) {
        this.status = status;
        this.execMessage = execMessage;
    }

    public int getStatus() {
        return status;
    }

    public String getExecMessage() {
        return execMessage;
    }
}
